
// <copyright file="RdbmsInfo.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   Description of RdbmsInfo.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Data
{
    using System;

    using SubhadraSolutions.Sharp.Utils.Contracts;

    /// <summary>
    /// Description of RdbmsInfo.
    /// </summary>
    public class RdbmsInfo : IUnique
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="RdbmsInfo"/> class.
        /// </summary>
        /// <param name="id">
        /// The id.
        /// </param>
        /// <param name="connectionType">
        /// The connection type.
        /// </param>
        /// <param name="bulkCopyType">
        /// The bulk copy type.
        /// </param>
        /// <param name="defaultConnectionString">
        /// The default connection string.
        /// </param>
        /// <param name="dummyConnectionType">
        /// The dummy connection type.
        /// </param>
        public RdbmsInfo(string id, Type connectionType, Type bulkCopyType, string defaultConnectionString, Type dummyConnectionType)
        {
            this.Name = id;
            this.ConnectionType = connectionType;
            this.BulkCopyType = bulkCopyType;
            this.DefaultConnectionString = defaultConnectionString;
            this.DummyConnectionType = dummyConnectionType;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets the bulk copy type.
        /// </summary>
        public Type BulkCopyType { get; private set; }

        /// <summary>
        /// Gets the connection type.
        /// </summary>
        public Type ConnectionType { get; private set; }

        /// <summary>
        /// Gets the default connection string.
        /// </summary>
        public string DefaultConnectionString { get; private set; }

        /// <summary>
        /// Gets the dummy connection type.
        /// </summary>
        public Type DummyConnectionType { get; private set; }

        /// <summary>
        /// Gets the name.
        /// </summary>
        public string Name { get; private set; }

        #endregion Public Properties
    }
}